package com.jiyun.baodian.controller;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.jiyun.baodian.service.BaodianService;
import com.jiyun.baodian.util.FastDFSClientUtil;
import com.jiyun.pojo.baodian.BaoDian;
import com.jiyun.pojo.baodian.BaoDianVo;
import com.jiyun.pojo.luyin.Luyin;
import com.jiyun.pojo.result.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 文件名:BaodianController
 * 创建者: 闫俊涛
 * 创建时间:2022/6/27 18:58
 * 描述:这是一个实例
 */
@RestController
    @RequestMapping("baodian")
public class BaodianController {

    @Autowired
    private FastDFSClientUtil fastDFSClientUtil;
    @Autowired
    private BaodianService baodianService;
    @RequestMapping("list")
    public ResultVo list (@RequestBody BaoDianVo dto){

        return  baodianService.listAll(dto);
    }

    // 面试文章收藏


    // 录音上传






}
